import {post,get} from "../methods"

const getSearchIndex = (params) => get("/api/search/index",params)
const cleanHistory = (data) => post("/api/search/clearhistory")
const searchByKeyword = params => get("api/goods/list",params)
const searchHelp = params => get("api/search/helper",params)
export default {
  getSearchIndex,
  cleanHistory ,
  searchHelp,
  searchByKeyword
}

